package com.soft.pojo;

import java.util.ArrayList;

public class PageBean<T> {
    private int currentCount;
    private int currentPage;
    private int totalCount;
    private int totalPage;
    private String category;
    private ArrayList<T> plist;

    public int getCurrentCount() {
        return currentCount;
    }

    public void setCurrentCount(int currentCount) {
        this.currentCount = currentCount;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

	public ArrayList<T> getPlist() {
		return plist;
	}

	public void setPlist(ArrayList<T> plist) {
		this.plist = plist;
	}

	public PageBean(int currentCount, int currentPage, int totalCount, int totalPage, String category, ArrayList<T> plist) {
		this.currentCount = currentCount;
		this.currentPage = currentPage;
		this.totalCount = totalCount;
		this.totalPage = totalPage;
		this.category = category;
		this.plist = plist;
	}

	public PageBean() {
    }


}
